package com.pinusmusic.dao;

import com.pinusmusic.domain.Favorite;
import com.pinusmusic.domain.MusicInfo;

import java.util.List;

public interface FavoriteDao {
    boolean isUid(String uid);
    boolean isMid(String mid);
    boolean isFid(String fid);
    boolean addFavorite(Favorite favorite);
    boolean deleteFavorite(int fid);
    List<MusicInfo> findFavoriteMusicsByUid(int uid);
    void deleteFavByMid(int mid);
}
